package io.huaguoguo.controller;

import cn.hutool.core.util.StrUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述：  <br>
 * CreateDate: 2021/11/23 <br>
 *
 * @author huaguoguo
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(String name){
        return "hello:" + StrUtil.nullToEmpty(name);
    }
}
